home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1989-06-01 | 1.9 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Source_1.h
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Jun 1 16:22:24 1989, modified Thu Jun 1 16:22:24 1989, creator Think C, type ASCII, 1166 bytes "Source_1.h" , at 0x50e 406 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 53 6f 75 72 63 65 | 5f 31 2e 68 00 00 00 00 |..Source|_1.h....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 04 8e 00 | 00 01 96 a0 ab 4b 80 a0 |........|.....K..|
|00000060| ab 4b 80 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.K......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 8c e4 00 00 |........|........|
|00000080| 2f 2a 20 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |/* =====|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 0d 0d | 46 69 6c 65 3a 20 53 6f |======..|File: So|
|000000b0| 75 72 63 65 5f 31 2e 68 | 0d 46 75 6e 63 74 69 6f |urce_1.h|.Functio|
|000000c0| 6e 3a 20 48 65 61 64 65 | 72 20 66 6f 72 20 74 68 |n: Heade|r for th|
|000000d0| 69 73 20 77 69 6e 64 6f | 77 0d 48 69 73 74 6f 72 |is windo|w.Histor|
|000000e0| 79 3a 20 34 2f 32 37 2f | 38 39 20 4f 72 69 67 69 |y: 4/27/|89 Origi|
|000000f0| 6e 61 6c 20 62 79 20 50 | 72 6f 74 6f 74 79 70 65 |nal by P|rototype|
|00000100| 72 2e 20 20 0d 0d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |r. ..==|========|
|00000110| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000120| 3d 3d 3d 3d 3d 3d 3d 20 | 2a 2f 0d 0d 0d 2f 2a 20 |======= |*/.../* |
|00000130| 49 6e 69 74 69 61 6c 69 | 7a 65 20 75 73 20 73 6f |Initiali|ze us so|
|00000140| 20 61 6c 6c 20 6f 75 72 | 20 72 6f 75 74 69 6e 65 | all our| routine|
|00000150| 73 20 63 61 6e 20 62 65 | 20 61 63 74 69 76 61 74 |s can be| activat|
|00000160| 65 64 20 2a 2f 0d 76 6f | 69 64 20 20 49 6e 69 74 |ed */.vo|id Init|
|00000170| 5f 70 72 6f 74 6f 6e 28 | 76 6f 69 64 29 3b 0d 0d |_proton(|void);..|
|00000180| 2f 2a 20 4f 70 65 6e 20 | 6f 75 72 20 77 69 6e 64 |/* Open |our wind|
|00000190| 6f 77 20 61 6e 64 20 64 | 72 61 77 20 65 76 65 72 |ow and d|raw ever|
|000001a0| 79 74 68 69 6e 67 20 2a | 2f 0d 76 6f 69 64 20 20 |ything *|/.void |
|000001b0| 4f 70 65 6e 5f 70 72 6f | 74 6f 6e 28 76 6f 69 64 |Open_pro|ton(void|
|000001c0| 29 3b 0d 0d 2f 2a 20 55 | 70 64 61 74 65 20 6f 75 |);../* U|pdate ou|
|000001d0| 72 20 77 69 6e 64 6f 77 | 2c 20 73 6f 6d 65 6f 6e |r window|, someon|
|000001e0| 65 20 75 6e 63 6f 76 65 | 72 65 64 20 61 20 70 61 |e uncove|red a pa|
|000001f0| 72 74 20 6f 66 20 75 73 | 20 2a 2f 0d 76 6f 69 64 |rt of us| */.void|
|00000200| 20 20 55 70 44 61 74 65 | 5f 70 72 6f 74 6f 6e 28 | UpDate|_proton(|
|00000210| 57 69 6e 64 6f 77 50 74 | 72 20 20 77 68 69 63 68 |WindowPt|r which|
|00000220| 57 69 6e 64 6f 77 29 3b | 0d 2f 2a 20 75 70 64 61 |Window);|./* upda|
|00000230| 74 65 20 61 6c 73 6f 20 | 6e 65 65 64 73 20 74 6f |te also |needs to|
|00000240| 20 68 61 6e 64 6c 65 20 | 67 65 74 74 69 6e 67 20 | handle |getting |
|00000250| 74 68 65 20 70 69 78 6d | 61 70 20 69 6d 61 67 65 |the pixm|ap image|
|00000260| 20 6f 6e 74 6f 20 74 68 | 65 20 77 69 6e 64 6f 77 | onto th|e window|
|00000270| 20 2a 2f 0d 0d 2f 2a 20 | 20 48 61 6e 64 6c 65 20 | */../* | Handle |
|00000280| 61 63 74 69 6f 6e 20 74 | 6f 20 6f 75 72 20 77 69 |action t|o our wi|
|00000290| 6e 64 6f 77 2c 20 6c 69 | 6b 65 20 63 6f 6e 74 72 |ndow, li|ke contr|
|000002a0| 6f 6c 73 20 20 2a 2f 0d | 76 6f 69 64 20 20 44 6f |ols */.|void Do|
|000002b0| 5f 70 72 6f 74 6f 6e 28 | 45 76 65 6e 74 52 65 63 |_proton(|EventRec|
|000002c0| 6f 72 64 20 20 2a 6d 79 | 45 76 65 6e 74 29 3b 0d |ord *my|Event);.|
|000002d0| 0d 2f 2a 20 20 44 6f 20 | 77 69 6e 64 6f 77 20 72 |./* Do |window r|
|000002e0| 65 73 69 7a 69 6e 67 2c | 20 72 65 73 69 7a 65 20 |esizing,| resize |
|000002f0| 74 68 65 20 73 63 72 6f | 6c 6c 62 61 72 73 20 20 |the scro|llbars |
|00000300| 2a 2f 0d 76 6f 69 64 20 | 20 52 65 73 69 7a 65 64 |*/.void | Resized|
|00000310| 5f 70 72 6f 74 6f 6e 28 | 57 69 6e 64 6f 77 50 74 |_proton(|WindowPt|
|00000320| 72 20 20 77 68 69 63 68 | 57 69 6e 64 6f 77 29 3b |r which|Window);|
|00000330| 0d 0d 2f 2a 20 2d 2d 20 | 77 65 20 6e 65 65 64 20 |../* -- |we need |
|00000340| 61 63 74 69 76 61 74 65 | 20 61 6e 64 20 64 65 61 |activate| and dea|
|00000350| 63 74 69 76 61 74 65 20 | 74 68 65 20 77 69 6e 64 |ctivate |the wind|
|00000360| 6f 77 20 2d 2d 20 68 69 | 64 69 6e 67 20 73 63 72 |ow -- hi|ding scr|
|00000370| 6f 6c 6c 20 62 61 72 73 | 20 2a 2f 0d 0d 76 6f 69 |oll bars| */..voi|
|00000380| 64 20 72 65 61 64 5f 70 | 72 6f 74 6f 6e 28 76 6f |d read_p|roton(vo|
|00000390| 69 64 29 3b 0d 2f 2a 20 | 72 65 61 64 73 20 61 20 |id);./* |reads a |
|000003a0| 50 49 43 54 20 66 69 6c | 65 20 61 6e 64 20 73 65 |PICT fil|e and se|
|000003b0| 74 73 20 75 70 20 74 68 | 65 20 70 69 78 6d 61 70 |ts up th|e pixmap|
|000003c0| 20 2a 2f 0d 0d 76 6f 69 | 64 20 70 61 73 74 65 5f | */..voi|d paste_|
|000003d0| 70 72 6f 74 6f 6e 28 76 | 6f 69 64 29 3b 0d 2f 2a |proton(v|oid);./*|
|000003e0| 20 70 61 73 74 65 20 61 | 20 50 49 43 54 20 66 72 | paste a| PICT fr|
|000003f0| 6f 6d 20 74 68 65 20 63 | 6c 69 70 62 6f 61 72 64 |om the c|lipboard|
|00000400| 20 61 6e 64 20 73 65 74 | 73 20 75 70 20 74 68 65 | and set|s up the|
|00000410| 20 70 69 78 6d 61 70 20 | 2a 2f 0d 0d 76 6f 69 64 | pixmap |*/..void|
|00000420| 20 67 72 6f 77 5f 70 72 | 6f 74 6f 6e 20 28 50 6f | grow_pr|oton (Po|
|00000430| 69 6e 74 20 2a 20 77 68 | 65 72 65 2c 20 57 69 6e |int * wh|ere, Win|
|00000440| 64 6f 77 50 74 72 20 77 | 68 69 63 68 57 69 6e 64 |dowPtr w|hichWind|
|00000450| 6f 77 29 3b 0d 76 6f 69 | 64 20 7a 6f 6f 6d 5f 70 |ow);.voi|d zoom_p|
|00000460| 72 6f 74 6f 6e 20 28 50 | 6f 69 6e 74 20 2a 20 77 |roton (P|oint * w|
|00000470| 68 65 72 65 2c 20 57 69 | 6e 64 6f 77 50 65 65 6b |here, Wi|ndowPeek|
|00000480| 20 77 68 69 63 68 57 69 | 6e 64 6f 77 2c 20 73 68 | whichWi|ndow, sh|
|00000490| 6f 72 74 20 63 6f 64 65 | 29 3b 0d 76 6f 69 64 20 |ort code|);.void |
|000004a0| 61 63 74 69 76 61 74 65 | 5f 70 72 6f 74 6f 6e 20 |activate|_proton |
|000004b0| 28 20 57 69 6e 64 6f 77 | 50 74 72 20 77 68 69 63 |( Window|Ptr whic|
|000004c0| 68 57 69 6e 64 6f 77 2c | 20 6c 6f 6e 67 20 6d 6f |hWindow,| long mo|
|000004d0| 64 69 66 69 65 72 73 29 | 3b 09 0d 0d 76 6f 69 64 |difiers)|;...void|
|000004e0| 20 63 6c 65 61 72 5f 70 | 72 6f 74 6f 6e 28 76 6f | clear_p|roton(vo|
|000004f0| 69 64 29 3b 0d 0d 76 6f | 69 64 20 63 72 6f 70 5f |id);..vo|id crop_|
|00000500| 70 72 6f 74 6f 6e 28 76 | 6f 69 64 29 3b 0d 00 00 |proton(v|oid);...|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 01 00 00 00 01 3c | 00 00 00 3c 00 00 00 5a |.......<|...<...Z|
|00000590| 0d 09 35 2f 31 2f 38 39 | 0d 09 63 2e 20 6b 65 69 |..5/1/89|..c. kei|
|000005a0| 74 68 20 72 61 79 0d 0d | 09 70 72 6f 63 65 64 75 |th ray..|.procedu|
|000005b0| 0a 53 6f 75 72 63 65 5f | 31 2e 68 63 02 00 00 00 |.Source_|1.hc....|
|000005c0| 54 45 58 54 51 45 44 31 | 00 00 00 00 00 00 00 00 |TEXTQED1|........|
|000005d0| 00 00 54 45 58 54 51 45 | 44 31 00 00 00 00 00 00 |..TEXTQE|D1......|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 a0 ab 05 e5 00 00 | 04 8e 00 00 01 96 69 74 |........|......it|
|00000600| 63 6c 75 74 2e 68 22 0d | 0d 65 78 74 65 72 6e 20 |clut.h".|.extern |
|00000610| 57 69 6e 64 6f 77 50 74 | 72 20 52 65 73 75 6c 74 |WindowPt|r Result|
|00000620| 5f 57 69 6e 64 6f 77 3b | 09 2f 2a 20 57 69 6e 64 |_Window;|./* Wind|
|00000630| 6f 77 20 70 6f 69 6e 74 | 65 72 20 2a 2f 0d 65 78 |ow point|er */.ex|
|00000640| 74 65 72 6e 20 57 69 6e | 64 6f 77 50 74 72 20 53 |tern Win|dowPtr S|
|00000650| 6f 75 72 63 65 5f 31 5f | 57 69 6e 64 6f 77 3b 09 |ource_1_|Window;.|
|00000660| 2f 2a 20 57 69 6e 64 6f | 77 20 70 6f 69 6e 74 65 |/* Windo|w pointe|
|00000670| 72 20 2a 2f 0d 65 78 74 | 65 72 6e 20 57 69 6e 64 |r */.ext|ern Wind|
|00000680| 00 00 00 2a 00 09 07 4d | 6f 6e 61 63 6f 44 00 00 |...*...M|onacoD..|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 04 00 06 00 04 00 00 | 00 02 00 00 00 00 01 00 |........|........|
|000006c0| 00 00 01 3c 00 00 00 3c | 00 00 00 5a 00 37 23 ac |...<...<|...Z.7#.|
|000006d0| 06 40 00 00 00 1c 00 5a | 00 02 45 46 4e 54 00 00 |.@.....Z|..EFNT..|
|000006e0| 00 1a 45 54 41 42 00 00 | 00 26 45 51 45 44 00 00 |..ETAB..|.&EQED..|
|000006f0| 00 32 03 eb ff ff 00 00 | 00 00 00 00 00 00 03 ec |.2......|........|
|00000700| ff ff 00 00 00 2e 00 00 | 00 00 03 eb ff ff 00 00 |........|........|
|00000710| 00 36 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.6......|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+